package com.x.xiaoshuo.di;

import com.google.gson.Gson;
import com.x.mvp.injection.components.AppComponent;
import com.x.mvp.injection.modules.AppModule;
import com.x.mvp.utils.GlideCatch;
import com.x.service.api.DataRepository;
import com.x.service.di.modules.APIModule;
import com.x.xiaoshuo.di.module.XiaoShuoModule;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@Component(modules = {AppModule.class, APIModule.class, XiaoShuoModule.class})
public interface XAppComponent extends AppComponent {
    Gson getGson();

    GlideCatch getGlideCatch();

    DataRepository getDataRepository();
}
